ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 13 - No. 19)

What is the result if a CASE statement has no matching case, and no default (or ELSE) clause?
The program ends.
The code inside the first case is executed.
The program continues execution after the CASE block.
An error message is displayed.

Explication

Without a default or ELSE clause, the program will continue execution after the CASE statement if no case matches.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc